package com.example.win.android_banduyujia.http.request;

import java.util.Map;

/**
 * Created by Win on 2015/9/23.
 */
public class CheckMobileRequest extends BaseHttpRequest {
    private String URL;
    private String cellphone;

    public CheckMobileRequest(String url,String cellphone) {
        this.URL  = url;
        this.cellphone = cellphone;
    }

    @Override
    protected String toRequestURL() {
        return URL;
    }

    @Override
    protected String toHttpMethod() {
        return HTTP_METHOD_POST;
    }

    @Override
    protected void toHttpRequestParams(Map<String, String> params) {
        params.put("cellphone", cellphone);
    }
}
